<template>
  <div id="app">
    <div id="nav">
      <router-link to="/">
      <div class="c">
      <div class="a"><img src="./assets/a1.jpg" alt=""></div>
      <div class="b">电影/影院</div>
      </div>
      </router-link>
      <router-link to="/video">
        <div class="c">
        <div class="a"><img src="./assets/s2.jpg" alt=""></div>
        <div class="b">视频</div>
        </div>
      </router-link>
      <router-link to="/shortvideo">
        <div class="c">
        <div class="a"><img src="./assets/s.jpg" alt=""></div>
        <div class="b">小视频</div>      
        </div>
      </router-link>
      <router-link to="/show">
        <div class="c">
        <div class="a"><img src="./assets/y.jpg" alt=""></div>
        <div class="b">演出</div>
        </div>
      </router-link>
      <router-link to="/login">
      <div class="c">
        <div class="a"><img src="./assets/wo.jpg" alt=""></div>
        <div class="b">我的</div>
        </div>
      </router-link>
    </div>
    <router-view/>
  </div>
</template>

<style>
*{padding: 0;margin: 0;}
ul,li{
  list-style: none;
}
a{
  text-decoration: none;
}
.c{
  width: 55px;
  display: flex;
  flex-wrap: wrap;
}
#nav .a img{
  width: 20px;
  height: 20px;
  margin: 7px auto;
}
.a{
   width: 10px;
  height: 10px;
  margin: 0 auto;
}
.b{
  width: 55px;
  text-align: center;
}

#nav>div{
  text-align: center;

}
#nav {
  width: 100%;
  height: 50px;
  position: fixed;
  bottom: 0;
  left: 0;
  border: 1px solid #ccc;
   display: flex;
  justify-content: space-around; 
  line-height: 50px;
  background: white;
}
a{
  text-decoration: none;
}


#nav a {
  font-size: 12px;
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #f03d37;
}
</style>
